<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试页面</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <template>
        <div>
            <el-button  @click="dialogFormVisible = true">登录</el-button>
            <el-dialog title="登录" :visible.sync="dialogFormVisible"  @closed="handleClose">
                <el-form :model="form" :rules="rules" ref="ruleForm">
                    <el-form-item label="账号" :label-width="formLabelWidth" prop="name">
                        <el-input v-model="form.name" placeholder="初始账号为学号" autocomplete="off"></el-input>
                    </el-form-item>
                    <el-form-item label="密码" :label-width="formLabelWidth" >
                        <el-input v-model="form.password" placeholder="初始密码为000000" autocomplete="off"></el-input>
                    </el-form-item>
                </el-form>
                <div slot="footer" class="dialog-footer">
                    <el-button @click="dialogFormVisible = false">取 消</el-button>
                    <el-button type="primary" @click="login">确 定</el-button>
                </div>
            </el-dialog>
        </div>
    </template>
    <el-link href="swagger-ui.html" type="success">所有接口</el-link>
</div>
<script src="js/vue.js"></script>
<script src="js/axios.js"></script>
<script src="https://unpkg.com/element-ui@2.15.1/lib/index.js"></script>
<script src="js/tan.js"></script>
</body>
</html>